package com.design.cjm.behavioral.command.example;

/**
 * 用来声明执行操作的接口
 *
 * @Author: Jie Ming Chen
 * @Date: 2018/9/25
 * @Version 1.0
 */
public abstract class Command {

    protected Receiver receiver;

    public Command(Receiver receiver) {
        this.receiver = receiver;
    }

    /**
     * 执行者
     */
    abstract public void execute();

}
